package com.atkusen.mini.minidanke.rpc;

import com.atkusen.mini.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用 mb的接口服务
 */
@FeignClient(value = "mini-mb")
public interface MiniMbService {
    /**
     * 远程调用 用户表的数据
     * @param employeeId
     * @return
     */
    @RequestMapping("/private/miniemployee/userinfo/{employeeId}")
    public R info(@PathVariable("employeeId") Integer employeeId);
}
